
namespace JTZY.Model.Business.Dto
{
    /// <summary>
    /// 代理商等级设置表查询对象
    /// </summary>
    public class CorecmsagentgradeQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 代理商等级设置表输入输出对象
    /// </summary>
    public class CorecmsagentgradeDto
    {
        [Required(ErrorMessage = "等级序列不能为空")]
        public int Id { get; set; }

        public string Name { get; set; }

        [Required(ErrorMessage = "是否默认等级不能为空")]
        public bool IsDefault { get; set; }

        [Required(ErrorMessage = "是否自动升级不能为空")]
        public bool IsAutoUpGrade { get; set; }

        [Required(ErrorMessage = "价格加成方式不能为空")]
        public int DefaultSalesPriceType { get; set; }

        [Required(ErrorMessage = "价格加成值不能为空")]
        public int DefaultSalesPriceNumber { get; set; }

        [Required(ErrorMessage = "等级排序不能为空")]
        public int SortId { get; set; }

        public string Description { get; set; }



        [ExcelColumn(Name = "是否默认等级")]
        public string IsDefaultLabel { get; set; }
    }
}